package org.yenn.pattern.aliyun.j2ee.servicelocator.impl;

import org.yenn.pattern.aliyun.j2ee.servicelocator.Service;

/**
 * @Author: yerenyun
 * @Description: 步骤 2 创建实体服务。
 */
public class Service2 implements Service {
    @Override
    public String getName() {
        return "Service2";
    }

    @Override
    public void execute() {
        System.out.println("Executing Service2");
    }
}
